import request from '@/utils/request'

// 查询医师维护列表
export function listDocker(query) {
  return request({
    url: '/zhongyao/docker/list',
    method: 'get',
    params: query
  })
}

// 查询医师维护详细
export function getDocker(docKey) {
  return request({
    url: '/zhongyao/docker/' + docKey,
    method: 'get'
  })
}

// 新增医师维护
export function addDocker(data) {
  return request({
    url: '/zhongyao/docker',
    method: 'post',
    data: data
  })
}

// 修改医师维护
export function updateDocker(data) {
  return request({
    url: '/zhongyao/docker',
    method: 'put',
    data: data
  })
}

// 删除医师维护
export function delDocker(docKey) {
  return request({
    url: '/zhongyao/docker/' + docKey,
    method: 'delete'
  })
}
